<!DOCTYPE html>
<html lang="en">
<!-- 
    做一个表格，6行4列
    实行隔行换色
    并且第三列文字红色
    第一个单元格文字大小30px
    最后一格是斜体

-->
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        table{
            border-collapse: collapse;
            width: 100%;
        }
        th, td{
            border: 1px solid #ccc;
            padding: 30px;
            text-align: center;
        }
        td:nth-child(3){
            color: red;
        }
        tr:nth-child(even){
            background-color: tomato;
        }

        thead th:first-child{
            font-size: 30px;
            color:green;
        }

        tbody tr:last-child td:last-child{
            font-style: italic;
            color:green;
        }
    </style>
</head>
<body>
    <table>
        <!-- 表头 -->
        <thead>
          <tr>
            <th>表头1</th>
            <th>表头2</th>
            <th>表头3</th>
            <th>表头4</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>行1列1</td>
            <td>行1列2</td>
            <td>行1列3</td>
            <td>行1列4</td>
          </tr>
          <tr>
            <td>行2列1</td>
            <td>行2列2</td>
            <td>行2列3</td>
            <td>行2列4</td>
          </tr>
          <tr>
            <td>行3列1</td>
            <td>行3列2</td>
            <td>行3列3</td>
            <td>行3列4</td>
          </tr>
          <tr>
            <td>行4列1</td>
            <td>行4列2</td>
            <td>行4列3</td>
            <td>行4列4</td>
          </tr>
          <tr>
            <td>行5列1</td>
            <td>行5列2</td>
            <td>行5列3</td>
            <td>行5列4</td>
          </tr>
          <tr>
            <td>行6列1</td>
            <td>行6列2</td>
            <td>行6列3</td>
            <td>行6列4</td>
          </tr>
        </tbody>
      </table>
</body>
</html>